package per.turtle.common.swagger.annotation;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;
import per.turtle.common.swagger.config.SwaggerAutoConfiguration;
import per.turtle.common.swagger.config.SwaggerProperties;
import springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration;

import java.lang.annotation.*;

/**
 * @author turtle
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@EnableConfigurationProperties(SwaggerProperties.class)
@Import({SwaggerAutoConfiguration.class, BeanValidatorPluginsConfiguration.class})
public @interface EnableCustomSwagger2 {

}
